package com.lagou.mapper;

import com.lagou.domain.SysRegion;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

@Repository
public interface SysRegionMapper {

    /**
     * 新增系统区域信息
     * @param sysRegion
     */
    @Insert("insert into sys_region (region_name, region_code, region_level) values (#{regionName}, #{regionCode}, #{regionLevel}) ")
    void addSysRegion(SysRegion sysRegion);
}
